<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:h="http://java.sun.com/jsf/html"
  template="/WEB-INF/template/template.xhtml">

  <ui:define name="page_title">
    #{msgs['jsf.More']}
  </ui:define>

  <ui:define name="center_content">
    <div class="moreContent">
          <ul class="list--no-bullets l--pad-h-quarter">
            <li class="moreContent-listItem">
              <a href="#{applicationConfigurationAction.helpUrl}" id="more_help"
                target="_blank">
                #{msgs['jsf.Help']}</a>
            </li>
            <li class="Py(rq) Bdb(bd1) Bdc(light)">
              <a href="#{applicationConfigurationAction.termOfUseUrl}"
                target="_blank">#{msgs['jsf.TermsOfUse']}</a>
            </li>
            <li class="Py(rq) Bdb(bd1) Bdc(light)">
              <a href="http://zanata.org/about"
                target="_blank">#{msgs['jsf.About']}</a>
            </li>
            <li class="Py(rq) Bdb(bd1) Bdc(light)">
              <a href="http://zanata.org/issues"
                target="_blank">#{msgs['jsf.ReportAProblem']}</a>
            </li>
            <ui:fragment>
              <ui:include src="/WEB-INF/layout/admin/contact_admin_modal.xhtml"/>
              <li class="moreContent-contact">
                <a href="#" data-toggle="modal"
                   data-target="#contactAdminDialog" id="more_contact_admin">
                  #{msgs['jsf.ContactAdmin']}</a>
              </li>
            </ui:fragment>
            <li class="moreContent-language">
              <h:form id="localeSelector_form" styleClass="l--push-bottom-0">
                <h:selectOneMenu id="Select"
                  value="#{localeSelectorAction.localeString}"
                  valueChangeListener="#{localeSelectorAction.select}"
                  onchange="submit()">
                  <f:selectItems
                    value="#{localeSelectorAction.supportedLocales}"/>
                </h:selectOneMenu>
              </h:form>
            </li>
            <li class="moreContent-info">
              <h:outputText escape="false"
                value="#{msgs.format('jsf.RunningVersionInfo',
                  msgs['jsf.Zanata'], applicationConfiguration.version,
                  applicationConfiguration.buildTimestamp,
                  applicationConfiguration.scmDescribe)}"/>
              <br/>
              <h:outputText escape="false"
                value="#{applicationConfiguration.copyrightNotice()}"/>
            </li>
          </ul>
        </div>
  </ui:define>
</ui:composition>
